/*
 * Created: 2022-09-12 19:00:02
 * Author : 涛涛涛
 */

import React, { FC } from 'react';
import { View, Text } from '@tarojs/components';
import { styled } from 'linaria/react';
import { useClassName } from '@/utils/index';
export interface IProps extends ICompProps {}
OptionTagList.defaultProps = {} as Partial<IProps>;
function OptionTagList(props: IProps) {
    const { className, style, children } = props;
    const localClassName = useClassName('OptionTagList', className);
    return (
        <RootView className={localClassName} style={style}>
            <View className="OptionTagList-inner">{children}</View>
        </RootView>
    );
}
export default React.memo(OptionTagList as FC<IProps>);
const RootView = styled(View)`
    &.OptionTagList {
        margin-top: 10px;
        .OptionTagList-inner {
            margin: -10px;
            display: flex;
            flex-wrap: wrap;
            .OptionTagItem {
                margin: 10px;
            }
            .NoRecord {
                margin: 10px;
            }
            .Loading {
                margin: 10px;
            }
        }
    }
`;
